#curl -d "name=app3&domain=www.app3.com&source=/mnt/xengine/ftp/0101/4731&target=vhost/www.app3.com" http://localhost:8000/rest/app_manager/regist


#curl -d "name=app3"  http://localhost:8000/rest/instance_manager/publish
#curl -d "name=4731"  http://localhost:8000/rest/instance_manager/publish

#curl -d "name=app3"  http://localhost:8000/rest/instance_manager/stop_instances

cd `dirname $0`
rm -rf .ssh
mkdir .ssh
cd .ssh

ssh-keygen -f ssh_host_rsa_key -t rsa -N ''
ssh-keygen -f ssh_host_dsa_key -t dsa -N ''

cd ..
